package com.zhuidian.mothernote.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import com.base.adapter.BaseRecyclerAdapter;
import com.zhuidian.mothernote.R;

public class AnswerAndEarnRedDevelopAdapter extends BaseRecyclerAdapter<String> {

    public AnswerAndEarnRedDevelopAdapter(Context context) {
        super(context);
    }

    @Override
    protected RecyclerView.ViewHolder onCreateItemViewHolder(ViewGroup parent) {
        return new AnswerAndEarnRedDevelopAdapter.MyViewHolder(inflate(R.layout.adapter_answer_and_red_develop));
    }


    public class MyViewHolder extends ItemViewHolder {
        private TextView tv_title;
        private TextView tv_content;
        private TextView tv_expend;
        private LinearLayout ll_red_bag;
        private TextView tv_money;
        private TextView tv_num;
        private TextView tv_red_setting;

        public MyViewHolder(View view) {
            super(view);
            tv_title = (TextView) view.findViewById(R.id.tv_title);
            tv_content = (TextView) view.findViewById(R.id.tv_content);
            tv_expend = (TextView) view.findViewById(R.id.tv_expend);
            ll_red_bag = (LinearLayout) view.findViewById(R.id.ll_red_bag);
            tv_money = (TextView) view.findViewById(R.id.tv_money);
            tv_num = (TextView) view.findViewById(R.id.tv_num);
            tv_red_setting = (TextView) view.findViewById(R.id.tv_red_setting);

        }

        @Override
        protected void setListener(int position) {

        }

        @Override
        protected void initValue(int position, String questionBean) {

        }
    }

}